﻿@model SelfMadeMillionaire.Web.Infrastructure.ViewModels.MailingList.AdminChangePasswordViewModel

<div class="modal-dialog">
    <div class="modal-content">
		        @using (Html.BeginForm("ChangePassword", "MailingList", FormMethod.Post, new { @class = "form-horizontal" }))
{
			  @Html.HiddenFor(m=>m.ID)
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title" id="edit-dialog-label">Change Password Of Subscriber</h4>
      </div>
      <div class="modal-body">		 
			  @Html.ValidationSummary(false)
		  @Html.Partial("EditorTemplates/Changepassword", Model)
      </div>
      <div class="modal-footer">
		  <div class="row">
		<div class="col-sm-12">
			<div class="pull-right">
				<input type="submit" class="btn btn-default width80" value="Save" />
				<a href="#" class="btn btn-default width80" data-dismiss="modal">Cancel</a>
			</div>
		</div>
	</div>
      </div>
		  }
    </div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->

